package com.dctp.common.vo;

import java.io.Serializable;
import java.math.BigDecimal;

public class OrderProfit implements Serializable {

    private Long orderId; // 订单ID
    private BigDecimal pnl; // 浮动盈亏

    public OrderProfit() {}

    public OrderProfit(Long orderId, BigDecimal pnl) {
        this.orderId = orderId;
        this.pnl = pnl;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public BigDecimal getPnl() {
        return pnl;
    }

    public void setPnl(BigDecimal pnl) {
        this.pnl = pnl;
    }

}
